from time import sleep

from appium.webdriver.common.appiumby import AppiumBy

from base.base_page import BasePage


class NineDayPage(BasePage):
    _DATE = (AppiumBy.ID, 'hko.MyObservatory_v1_0:id/sevenday_forecast_date')

    def __init__(self, driver):
        super().__init__(driver)

    def scroll_page(self):
        self.slide_screen("up", 5)
